package cn.wolfcode.wolf2w.query;


import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class TravelQuery extends  QueryObject{
    private String destId;
    private String state;
    private int dayType = -1;//出行时间
    private int perExpendType = -1;//消费
    private int orderType = -1;//最新最热
    public TravelCondition getDay(){
        return  TravelCondition.DAY_MAP.get(dayType);
    }

    public TravelCondition getPerExpend(){
        return TravelCondition.PEREXPEND_MAP.get(perExpendType);
    }

}
